﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace PlaceOrder_Core.PlaceOrderModels;

/// <summary>
/// 申请复议
/// </summary>
/// 
[Table("review_message", Schema = "public")]
public partial class ReviewMessage
{
    [Key]
    [Column("id")]
    public int Id { get; set; }

    [Column("review_messageinfo")]
    public string? ReviewMessageInfo { get; set; }

    [Column("usertrade_id")]
    public long? UserTradeId { get; set; }

    [Column("create_time")]
    public DateTime? CreateTime { get; set; }

    [Column("status")]
    public int? Status { get; set; }

    [Column("reviewer")]
    public string? Reviewer { get; set; }

    [Column("user_id")]
    public int? UserId { get; set; }

    // 导航属性，表示与 UserTradeBondhelper 的关联关系
    [ForeignKey("UserTradeId")]
    public virtual UserTradeBondhelper? UserTradeBondhelper { get; set; }
}

